package edu.ynu.se.xiecheng.achitectureclass.common.entity;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "useer")
public class User {

    @Id
    private String u_id; // 用户ID
    private String u_password; // 用户密码
    private String access_token; // 用户登录后的Token
    private String cloud_token;

    // Getters and Setters
    public String getuId() {
        return u_id;
    }

    public void setuId(String u_id) {
        this.u_id = u_id;
    }

    public String getuPassword() {
        return u_password;
    }

    public void setuPassword(String uPassword) {
        this.u_password = uPassword;
    }

    public String getAccessToken() {
        return access_token;
    }

    public void setAccessToken(String access_token) {
        this.access_token = access_token;
    }

    public String getCloudToken() {
        return cloud_token;
    }
    public void setCloudToken(String cloud_token){
        this.cloud_token=cloud_token;
    }
}
